package com.bridgeintelligent.tag.webserver.dim.mgmt.service.theme;

import com.bridgeintelligent.tag.webserver.dim.mgmt.api.DimRep;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by JackCheung on 2019/9/13 3:48 PM.
 */
@Api(tags = "标签主题管理")
@RestController
@RequestMapping("api/dimTheme")
public class DimThemeController {

    private IDimThemeService iDimThemeService;

    public DimThemeController(IDimThemeService iDimThemeService) {
        this.iDimThemeService = iDimThemeService;
    }

    @ApiOperation(value = "获取标签主题列表", notes = "标签主题管理")
    @GetMapping("list")
    public DimRep list() {
        return iDimThemeService.list();
    }
}
